package com.zhuliwei.entity;
public class Goods {
        private String id;  // 6 位的商品编号，每个商品唯一
        private int weight; // 商品单件重量，单位 g

        public Goods(String id, int weight) {
            this.id = id;
            this.weight = weight;
        }

        public String getId() {
            return id;
        }

        public int getWeight() {
            return weight;
        }
}